import http from '../index'

export const withdraw = (data) => {
    return http({
        url:'/api/withdraw',
        method: 'post',
        data
    })
}

export const withdrawList = (data) => {
    return http({
        url:'/api/withdraw/order_list',
        method: 'post',
        data
    })
}
export const withdrawStatistics = (data) => {
    return http({
        url:'/api/withdraw/order_statistics',
        method: 'post',
        data
    })
}
// 提现详情
export const drawDetail = (orderId) => {
    return http({
        url:`/api/withdraw/detail/${orderId}`,
        method: 'get',
    })
}